<template>
    <el-card class="box-card">
        <el-row style="margin-bottom:10px">
            <el-col :span="24">
                <div class="card-header">
                    <span>环境监测</span>
                    <el-button class="button" text>详情</el-button>
                </div>
            </el-col>
        </el-row>
        <div class="demo-progress">
            <el-row>
                <el-col :span="24">
                    <el-descriptions title="必要功能">
                        <el-descriptions-item label="PHP版本">
                            <el-button link type="success">8.0.0</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="MYSQL版本">
                            <el-button link type="success">5.7</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="服务器">
                            <el-button link type="success">Nginx</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="操作系统">
                            <el-button link type="success">Linux</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="目录权限监测">
                            <el-button link type="success">正常</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="PHP函数">
                            <el-button link type="success">正常</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="Redis">
                            <el-tooltip content="为获取最佳性能，推荐配置" placement="top" effect="light">
                                <el-button link type="warning">未配置</el-button>
                            </el-tooltip>
                        </el-descriptions-item>
                    </el-descriptions>

                    <el-descriptions title="增强功能">
                        <el-descriptions-item label="MySQl读写分离">
                            <el-button link type="warning">未配置</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="RabbitMQ">
                            <el-button link type="warning">未配置</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="Redis集群">
                            <el-button link type="warning">未配置</el-button>
                        </el-descriptions-item>
                        <el-descriptions-item label="ElasticSearch">
                            <el-button link type="warning">未配置</el-button>
                        </el-descriptions-item>
                    </el-descriptions>
                </el-col>
            </el-row>
        </div>
    </el-card>
</template>

<script lang="ts" setup>

</script>

<style scoped>
.percentage-value {
    display: block;
    margin-top: 10px;
    font-size: 28px;
}

.percentage-label {
    display: block;
    margin-top: 10px;
    font-size: 12px;
}

.demo-progress .el-progress--line {
    margin-bottom: 15px;
    width: 350px;
}

.demo-progress .el-progress--circle {
    margin-right: 15px;
}

/* 
.dashboard-main .el-col {
    padding: 10px;
} */
</style>